package com.xyz.lottery;

import java.math.BigDecimal;

public class LotteryProbablity {

    private Integer idx;

    private BigDecimal probablity;

    private String key;

    private BigDecimal startProbablity;

    private BigDecimal endProbablity;

    public LotteryProbablity(Integer idx, BigDecimal probablity, String key) {
        this.idx = idx;
        this.probablity = probablity;
        this.key = key;
    }

    public Integer getIdx() {
        return idx;
    }

    public void setIdx(Integer idx) {
        this.idx = idx;
    }

    public BigDecimal getProbablity() {
        return probablity;
    }

    public void setProbablity(BigDecimal probablity) {
        this.probablity = probablity;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public BigDecimal getStartProbablity() {
        return startProbablity;
    }

    public void setStartProbablity(BigDecimal startProbablity) {
        this.startProbablity = startProbablity;
    }

    public BigDecimal getEndProbablity() {
        return endProbablity;
    }

    public void setEndProbablity(BigDecimal endProbablity) {
        this.endProbablity = endProbablity;
    }

    @Override
    public String toString() {
        return "LotteryProbablity{" +
                "idx=" + idx +
                ", probablity=" + probablity +
                ", key='" + key +
                '}';
    }
}
